package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 企业主股东主要成员表 person
 * 
 * @author ruoyi
 * @date 2019-04-26
 */
public class Person extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 人员ID */
	private Integer pid;
	/** 姓名 */
	private String name;
	/** 英文名 */
	private String ename;
	/** 性别 */
	private String sex;
	/** 生日 */
	private Date birthday;
	/** 身份证号 */
	private String idnumber;
	/** 住址 */
	private String address;
	/** 电话 */
	private String phone;

	public void setPid(Integer pid) 
	{
		this.pid = pid;
	}

	public Integer getPid() 
	{
		return pid;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setEname(String ename) 
	{
		this.ename = ename;
	}

	public String getEname() 
	{
		return ename;
	}
	public void setSex(String sex) 
	{
		this.sex = sex;
	}

	public String getSex() 
	{
		return sex;
	}
	public void setBirthday(Date birthday) 
	{
		this.birthday = birthday;
	}

	public Date getBirthday() 
	{
		return birthday;
	}
	public void setIdnumber(String idnumber) 
	{
		this.idnumber = idnumber;
	}

	public String getIdnumber() 
	{
		return idnumber;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pid", getPid())
            .append("name", getName())
            .append("ename", getEname())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("idnumber", getIdnumber())
            .append("address", getAddress())
            .append("phone", getPhone())
            .toString();
    }
}
